package com.kgc.warehouse.bussness.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName bus_goods
 */
@TableName(value ="bus_goods")
@Data
public class Goods implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String goodsname;

    /**
     * 
     */
    private Integer providerid;

    /**
     * 
     */
    private String produceplace;

    /**
     * 
     */
    private String size;

    /**
     * 
     */
    private String goodspackage;

    /**
     * 
     */
    private String productcode;

    /**
     * 
     */
    private String promitcode;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private Double price;

    /**
     * 
     */
    private Integer number;

    /**
     * 
     */
    private Integer dangernum;

    /**
     * 
     */
    private String goodsimg;

    /**
     * 
     */
    private Integer available;

    @TableField(exist = false)
    private String providername;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}